package com.txby.platformCore.entity;

import javax.persistence.Entity;
import javax.persistence.Table;

import org.hibernate.validator.constraints.NotBlank;

import com.txby.platformCore.component.validtor.AddGroup;
import com.txby.platformCore.component.validtor.UpdateGroup;

import lombok.Data;


/**
 * 产品设备初始绑定组织和床号、病区信息
 * 历史信息
 * @author jacking
 *
 */
@Data
@Entity
@Table(name = "t_txby_productDeviceInit_lot")
public class ProductDeviceInitLot  extends SysBaseEntity {
	@NotBlank(message="组织不能为空", groups = {AddGroup.class, UpdateGroup.class})
	private String deptId;//所属组织
	@NotBlank(message="病区不能为空", groups = {AddGroup.class, UpdateGroup.class})
	private String sickAreaNO;//病区编码
	@NotBlank(message="床位号不能为空", groups = {AddGroup.class, UpdateGroup.class})
	private String bedNO;//床号
	private String sickAreaName;//病区名称
	@NotBlank(message="设备编号不能为空", groups = {AddGroup.class, UpdateGroup.class})
	private String deviceSN;//设备号
	private String token;//XG获取的token
	private Integer deviceUseType=0;//0:患者1：护士2：医生3:推送护士站
	private String remark;//备注

}
